import request from '@/router/axios'

export function fetchList(query, carNumber) {
  return request({
    url: '/car/crcar/' + carNumber,
    method: 'get',
    params: query
  })
}


export function PopUp() {
  return request({
    url: '/car/crcar/pop/up',
    method: 'get'
  })
}

export function ClosePopUp(id) {
  return request({
    url: '/car/crcar/pop/up/' + id,
    method: 'delete'
  })
}
